package pe.com.bn.sach.dao.impl;

import java.util.List;
import com.ibatis.sqlmap.client.SqlMapClient;
import pe.com.bn.sach.dao.SbsDAO;
import pe.com.bn.sach.domain.SBSDomain;

public class SbsImpl implements SbsDAO{

protected SqlMapClient sqlMapsql = null;
	
	
	
	public void setSqlMapsql(SqlMapClient sqlMapsql) {
	this.sqlMapsql = sqlMapsql;
}



	public List listSBS(SBSDomain SBSDomain) throws Exception{
		return sqlMapsql.queryForList("sqlSBS.listaSBS",SBSDomain);
	}
	
	public List listSBSDetallado(SBSDomain SBSDomain) throws Exception{

		return sqlMapsql.queryForList("sqlSBS.listaSBSdescripcion",SBSDomain);
	}
	
	
}
